package com.yurui.anno;

import com.yurui.anno.filter.MyFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan("com.yurui01")
public class GlobalConfig {

    @Bean
    public MyFilter getFilter(){
        return new MyFilter();
    }
}
